import {useEffect} from "react"
function App(){
    useEffect(() => {
       async function loadData(){
           const res = await fetch ('url')
           console.log('res')
       }
       loadData()
    }, [])
    return(
        <div>

        </div>
    )
}

export default App